package dailearn.stream.output;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author daify
 * @date 2019-07-14
 */
public interface MessageSource {


    String OUT_PUT = "testMessage";

    /**
     * 设置输出信息绑定的目标
     * @return
     */
    @Output(OUT_PUT)
    MessageChannel sendMessage();
}
